<template>
  <div class="item-outer">
    <h2>{{ title }}列表</h2>
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "Item",
  props: ["id", "content", "title"],
};
</script>

<style scoped>
    .item-outer{
        border: 1px solid #666;
        width: 250px;
        height: 400px;
        background-color: hotpink;
    }
    .item-outer h2{
        background-color: green;
    }
</style>